#pragma once

namespace one_rag {
  namespace App {
    namespace impl {

      // A private CString class used by Win32 implementations
      struct CString {
        WCHAR* _str;
        WCHAR* _alloc;

         CString(const CString& rhs);
         CString(const CHAR* rhs);
         CString(const WCHAR* rhs);
        ~CString();
        operator bool() const {return _str != 0;}
        operator const WCHAR*() const {return _str;}
        CString& operator =(const CString rhs);
        CString& operator =(const CHAR* rhs);
        CString& operator = (const WCHAR* rhs);

      };

    }
  }
}
